s = (input("请输入一段字符串:"))
def  isPalindrom(s):

    if s == s[::-1]:
         return True
    else:
         return False
n = isPalindrom(s)
print(n)